package com.qfhd.soft.cjzcore.UI.MulitRecycle.bean;

import android.content.Context;

import com.qfhd.soft.cjzcore.Model.Task_try_model;
import com.qfhd.soft.cjzcore.UI.Listener.CJListener;
import com.qfhd.soft.cjzcore.UI.MulitRecycle.decorate.Visitable;
import com.qfhd.soft.cjzcore.UI.MulitRecycle.factory.TypeFactory;


public class Task_try_Bean implements Visitable {
    Task_try_model mydata;
    Context mContext;
    CJListener listener;

    public Task_try_model getData(){
        return mydata;
    }
    public Context getmContext(){
        return mContext;
    }
    public CJListener getListener(){
        return listener;
    }

    public Task_try_Bean(Context context, Task_try_model data, CJListener clickListener){
        mydata = data;
        mContext = context;
        listener = clickListener;
    }
    @Override
    public int type(TypeFactory typeFactory) {
        return typeFactory.type(this);
    }
}
